﻿<Window x:Class="RMBoink.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:tb="http://www.hardcodet.net/taskbar"
        Title="rmBoink" Height="350" Width="525" ResizeMode="NoResize" Icon="/Icons/Logo.ico"
        WindowStartupLocation="CenterScreen"
        Loaded="Window_Loaded">
    <Grid x:Name="PART_Title">
        <tb:TaskbarIcon
            x:Name="TBIcon"
            IconSource="/Icons/logo.ico"
            ToolTipText="rmBoink"
            TrayContextMenuOpen="TBIcon_TrayContextMenuOpen"
            PreviewTrayContextMenuOpen="TBIcon_PreviewTrayContextMenuOpen"
            MenuActivation="LeftOrRightClick">
            <tb:TaskbarIcon.ContextMenu>
                <ContextMenu
                Background="White">
                    <MenuItem Header="Settings" Click="Settings_Click" />
                    <MenuItem Header="Quit" Click="Quit_Click" />
                </ContextMenu>
            </tb:TaskbarIcon.ContextMenu>
        </tb:TaskbarIcon>
        <Label Content="rmBoink&#xD;&#xA;" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Height="97" Width="267" FontSize="72" FontFamily="Segoe UI Light" />
        <Label Content=" a product of Namayapata" HorizontalAlignment="Left" Height="31" Margin="381,280,0,0" VerticalAlignment="Top" Width="114" FontSize="9" />
        <Button Content="help" HorizontalAlignment="Left" Margin="420,74,0,0" VerticalAlignment="Top" Width="75" FontFamily="Segoe UI Semilight" Click="Button_Click_3" />
        <TextBox x:Name="RegionBox" HorizontalAlignment="Left" Height="23" Margin="126,116,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="369" TextChanged="TextBox_TextChanged" />
        <Label Content="Region name" HorizontalAlignment="Left" Margin="17,116,0,0" VerticalAlignment="Top" />
        <Label Content="Update time&#xD;&#xA;(seconds)" HorizontalAlignment="Left" Margin="17,152,0,0" VerticalAlignment="Top" />
        <Button Content="Apply" HorizontalAlignment="Left" Margin="381,219,0,0" VerticalAlignment="Top" Width="114" Height="65" Click="Button_Click_2" IsDefault="True" />
        <Image HorizontalAlignment="Left" Height="74" Margin="277,33,0,0" VerticalAlignment="Top" Width="83" Source="Icons/logo.ico" />
        <ComboBox x:Name="UpdateTime" HorizontalAlignment="Left" Margin="126,162,0,0" VerticalAlignment="Top" Width="120" SelectionChanged="ComboBox_SelectionChanged">
            <ComboBoxItem Content="1" HorizontalAlignment="Left" Width="118" />
            <ComboBoxItem Content="2" HorizontalAlignment="Left" Width="118" />
            <ComboBoxItem Content="5" HorizontalAlignment="Left" Width="118" />
            <ComboBoxItem Content="10" HorizontalAlignment="Left" Width="118" />
            <ComboBoxItem Content="30" HorizontalAlignment="Left" Width="118" />
            <ComboBoxItem Content="60" HorizontalAlignment="Left" Width="118" />
            <ComboBoxItem Content="180" HorizontalAlignment="Left" Width="118" />
        </ComboBox>
        <TextBox x:Name="SoundFile" HorizontalAlignment="Left" Height="23" Margin="126,209,0,0" TextWrapping="Wrap" Text="custom sound file (optional)" VerticalAlignment="Top" Width="164" IsEnabled="False">
            <TextBox.Background>
                <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.InactiveBorderColorKey}}" />
            </TextBox.Background>
        </TextBox>
        <Button Content="browse" HorizontalAlignment="Left" Margin="293,209,0,0" VerticalAlignment="Top" Width="58" Height="23" Click="Browse_Click" />
        <Label Content="Custom sound" HorizontalAlignment="Left" Margin="17,206,0,0" VerticalAlignment="Top" />
        <Label Content="Nations to ignore" HorizontalAlignment="Left" Margin="17,253,0,0" VerticalAlignment="Top" ToolTip="Put your own nation name here so that you don't get pings for your nation. If you want to add other nations, you can do. Comma-separate them in order to get them to parse correctly." />
        <TextBox x:Name="NationsIgnore" HorizontalAlignment="Left" Height="23" Margin="126,261,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="225" />
        <Label Content="?" HorizontalAlignment="Left" Margin="105,271,0,0" VerticalAlignment="Top" Height="20" FontSize="8" FontFamily="Segoe UI Semibold" ToolTip="Put your own nation name here so that you don't get pings for your nation. If you want to add other nations, you can do. Comma-separate them in order to get them to parse correctly." />
        <Button x:Name="HideButton" Content="hide" HorizontalAlignment="Left" Margin="420,19,0,0" VerticalAlignment="Top" Width="75" Height="50" Click="HideButton_Click" />
    </Grid>
</Window>